<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>gvn.changebranch.ChangeBranch</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css"></link>
</head>
<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">

<!-- =========== START OF NAVBAR =========== -->
<table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="center">
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="gvn-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="trees.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="indices.html">Index</a>&nbsp;&nbsp;&nbsp;</th>
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
    <th class="navbar" align="right" width="100%">
      <table border="0" cellpadding="0" cellspacing="0">
      <tr><th class="navbar" align="center">
        <p class="nomargin">
          <a class="navbar" target="_top" href="http://code.google.com/p/gvn/">Project&nbsp;Homepage</a>
      </p></th></tr></table>
    </th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <font size="-1"><b class="breadcrumbs">
        <a href="gvn-module.html">Package&nbsp;gvn</a> ::
        <a href="gvn.changebranch-module.html">Module&nbsp;changebranch</a> ::
        Class&nbsp;ChangeBranch
      </b></font></br>
    </td>
    <td><table cellpadding="0" cellspacing="0">
      <tr><td align="right"><font size="-2">[<a href="../private/gvn.changebranch.ChangeBranch-class.html">show&nbsp;private</a>&nbsp;|&nbsp;hide&nbsp;private]</font></td></tr>
      <tr><td align="right"><font size="-2">[<a href="frames.html"target="_top">frames</a>&nbsp;|&nbsp;<a href="gvn.changebranch.ChangeBranch-class.html" target="_top">no&nbsp;frames</a>]</font></td></tr>
    </table></td>
</tr></table>

<!-- =========== START OF CLASS DESCRIPTION =========== -->
<h2 class="class">Type ChangeBranch</h2>

<pre class="base-tree">
<a href="__builtin__.object-class.html"><code>object</code></a> --+
         |
        <b>ChangeBranch</b>
</pre><br />

<hr/>

Representation of a change branch.
<hr/>


<!-- =========== START OF METHOD SUMMARY =========== -->
<table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="summary">
  <th colspan="2">Method Summary</th></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1">&nbsp;</font></td>
  <td><code><span class="summary-sig"><a href="gvn.changebranch.ChangeBranch-class.html#__init__" class="summary-sig-name"><code>__init__</code></a>(<span class=summary-sig-arg>self</span>,
          <span class=summary-sig-arg>config</span>,
          <span class=summary-sig-arg>project</span>,
          <span class=summary-sig-arg>name</span>,
          <span class=summary-sig-arg>username</span>,
          <span class=summary-sig-arg>revision</span>)</span></code>
<br />
Initialize ChangeBranch, which may or may not exist in the repo.</td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1">&nbsp;</font></td>
  <td><code><span class="summary-sig"><a href="gvn.changebranch.ChangeBranch-class.html#Acknowledge" class="summary-sig-name"><code>Acknowledge</code></a>(<span class=summary-sig-arg>self</span>,
          <span class=summary-sig-arg>pool</span>)</span></code>
<br />
Mark this change branch acknowledged (reviewed, approved, ...).</td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1">&nbsp;</font></td>
  <td><code><span class="summary-sig"><a href="gvn.changebranch.ChangeBranch-class.html#Branch" class="summary-sig-name"><code>Branch</code></a>(<span class=summary-sig-arg>self</span>,
          <span class=summary-sig-arg>_wc</span>,
          <span class=summary-sig-arg>paths</span>,
          <span class=summary-sig-arg>description</span>,
          <span class=summary-sig-arg>pool</span>)</span></code>
<br />
Replace (or create) change branch with paths.</td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1">&nbsp;</font></td>
  <td><code><span class="summary-sig"><a href="gvn.changebranch.ChangeBranch-class.html#Delete" class="summary-sig-name"><code>Delete</code></a>(<span class=summary-sig-arg>self</span>,
          <span class=summary-sig-arg>_wc</span>,
          <span class=summary-sig-arg>description</span>,
          <span class=summary-sig-arg>pool</span>)</span></code>
<br />
Delete, leaving self invalid and paths associated with no change.</td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1">&nbsp;</font></td>
  <td><code><a name="Exists"></a><span class="summary-sig"><span class="summary-sig-name">Exists</span>(<span class=summary-sig-arg>self</span>)</span></code>
</td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1">&nbsp;</font></td>
  <td><code><span class="summary-sig"><a href="gvn.changebranch.ChangeBranch-class.html#GetInstanceAtRevision" class="summary-sig-name"><code>GetInstanceAtRevision</code></a>(<span class=summary-sig-arg>self</span>,
          <span class=summary-sig-arg>revision</span>)</span></code>
<br />
Return an instance of this changebranch at revision 'revision'.</td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1">&nbsp;</font></td>
  <td><code><span class="summary-sig"><a href="gvn.changebranch.ChangeBranch-class.html#Submit" class="summary-sig-name"><code>Submit</code></a>(<span class=summary-sig-arg>self</span>,
          <span class=summary-sig-arg>_wc</span>,
          <span class=summary-sig-arg>description</span>,
          <span class=summary-sig-arg>pool</span>)</span></code>
<br />
Submit (and remove) change branch.</td></tr>
<tr bgcolor="#e8f0f8" class="group">
  <th colspan="2">&nbsp;&nbsp;&nbsp;&nbsp;Inherited from object</th></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1">&nbsp;</font></td>
  <td><code><span class="summary-sig"><a href="__builtin__.object-class.html#__delattr__" class="summary-sig-name"><code>__delattr__</code></a>(<span class="summary-sig-vararg">...</span>)</span></code>
<br />
x.__delattr__('name') &lt;==&gt; del x.name</td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1">&nbsp;</font></td>
  <td><code><span class="summary-sig"><a href="__builtin__.object-class.html#__getattribute__" class="summary-sig-name"><code>__getattribute__</code></a>(<span class="summary-sig-vararg">...</span>)</span></code>
<br />
x.__getattribute__('name') &lt;==&gt; x.name</td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1">&nbsp;</font></td>
  <td><code><span class="summary-sig"><a href="__builtin__.object-class.html#__hash__" class="summary-sig-name"><code>__hash__</code></a>(<span class=summary-sig-arg>x</span>)</span></code>
<br />
x.__hash__() &lt;==&gt; hash(x)</td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1">&nbsp;</font></td>
  <td><code><span class="summary-sig"><a href="__builtin__.object-class.html#__new__" class="summary-sig-name"><code>__new__</code></a>(<span class=summary-sig-arg>T</span>,
          <span class=summary-sig-arg>S</span>,
          <span class="summary-sig-vararg">...</span>)</span></code>
<br />
T.__new__(S, ...) -&gt; a new object with type S, a subtype of T</td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1">&nbsp;</font></td>
  <td><code><span class="summary-sig"><a href="__builtin__.object-class.html#__reduce__" class="summary-sig-name"><code>__reduce__</code></a>(<span class="summary-sig-vararg">...</span>)</span></code>
<br />
helper for pickle</td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1">&nbsp;</font></td>
  <td><code><span class="summary-sig"><a href="__builtin__.object-class.html#__reduce_ex__" class="summary-sig-name"><code>__reduce_ex__</code></a>(<span class="summary-sig-vararg">...</span>)</span></code>
<br />
helper for pickle</td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1">&nbsp;</font></td>
  <td><code><span class="summary-sig"><a href="__builtin__.object-class.html#__repr__" class="summary-sig-name"><code>__repr__</code></a>(<span class=summary-sig-arg>x</span>)</span></code>
<br />
x.__repr__() &lt;==&gt; repr(x)</td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1">&nbsp;</font></td>
  <td><code><span class="summary-sig"><a href="__builtin__.object-class.html#__setattr__" class="summary-sig-name"><code>__setattr__</code></a>(<span class="summary-sig-vararg">...</span>)</span></code>
<br />
x.__setattr__('name', value) &lt;==&gt; x.name = value</td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1">&nbsp;</font></td>
  <td><code><span class="summary-sig"><a href="__builtin__.object-class.html#__str__" class="summary-sig-name"><code>__str__</code></a>(<span class=summary-sig-arg>x</span>)</span></code>
<br />
x.__str__() &lt;==&gt; str(x)</td></tr>
</table><br />


<!-- =========== START OF PROPERTY SUMMARY =========== -->
<table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="summary">
  <th colspan="2">Property Summary</th></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1">&nbsp;</font></td>
  <td><b><a href="gvn.changebranch.ChangeBranch-class.html#change_name"><code>change_name</code></a></b>: &#64;</td></tr><tr><td align="right" valign="top" width="15%"><font size="-1">&nbsp;</font></td>
  <td><b><a href="gvn.changebranch.ChangeBranch-class.html#change_name_at_head"><code>change_name_at_head</code></a></b>: /</td></tr><tr><td align="right" valign="top" width="15%"><font size="-1">&nbsp;</font></td>
  <td><b><a href="gvn.changebranch.ChangeBranch-class.html#changed_paths"><code>changed_paths</code></a></b>: List of ChangedPaths.</td></tr><tr><td align="right" valign="top" width="15%"><font size="-1">&nbsp;</font></td>
  <td><a name="description"></a><b><code>description</code></b></td></tr><tr><td align="right" valign="top" width="15%"><font size="-1">&nbsp;</font></td>
  <td><b><a href="gvn.changebranch.ChangeBranch-class.html#name"><code>name</code></a></b></td></tr><tr><td align="right" valign="top" width="15%"><font size="-1">&nbsp;</font></td>
  <td><a name="revision"></a><b><code>revision</code></b></td></tr><tr><td align="right" valign="top" width="15%"><font size="-1">&nbsp;</font></td>
  <td><b><a href="gvn.changebranch.ChangeBranch-class.html#revisions"><code>revisions</code></a></b>: Return the equivalent of:

       svn log --stop-on-copy //changes/&lt;username&gt;/&lt;branchname&gt;&#64;revision

This will be a list of repository.revision objects, sorted in order
of decreasing repository.revision.number (i.e.</td></tr><tr><td align="right" valign="top" width="15%"><font size="-1">&nbsp;</font></td>
  <td><b><a href="gvn.changebranch.ChangeBranch-class.html#username"><code>username</code></a></b></td></tr></table><br />


<!-- =========== START OF METHOD DETAILS =========== -->
<table class="details" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="details">
  <th colspan="2">Method Details</th></tr>
</table>

<a name="__init__"></a>
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
  <h3><span class="sig"><span class="sig-name">__init__</span>(<span class=sig-arg>self</span>,
          <span class=sig-arg>config</span>,
          <span class=sig-arg>project</span>,
          <span class=sig-arg>name</span>,
          <span class=sig-arg>username</span>=<span class=sig-default>None</span>,
          <span class=sig-arg>revision</span>=<span class=sig-default>None</span>)</span>
    <br /><i>(Constructor)</i>
  </h3>
  <p>Initialize ChangeBranch, which may or may not exist in the repo.</p>
  Arguments: config -- gvn.config.Config project -- 
  gvn.project.Project name -- name of change branch username -- username; 
  defaults to config.username revision -- revision number of existing 
  change branch
  <dl><dt></dt><dd>
    <dl><dt><b>Overrides:</b></dt>
      <dd><a href="__builtin__.object-class.html#__init__"><code>__builtin__.object.__init__</code></a></dd>
    </dl>
  </dd></dl>
</td></tr></table>

<a name="Acknowledge"></a>
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
  <h3><span class="sig"><span class="sig-name">Acknowledge</span>(<span class=sig-arg>self</span>,
          <span class=sig-arg>pool</span>)</span>
  </h3>
  Mark this change branch acknowledged (reviewed, approved, ...).
  <dl><dt></dt><dd>
  </dd></dl>
</td></tr></table>

<a name="Branch"></a>
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
  <h3><span class="sig"><span class="sig-name">Branch</span>(<span class=sig-arg>self</span>,
          <span class=sig-arg>_wc</span>,
          <span class=sig-arg>paths</span>=<span class=sig-default>None</span>,
          <span class=sig-arg>description</span>=<span class=sig-default>None</span>,
          <span class=sig-arg>pool</span>=<span class=sig-default>None</span>)</span>
  </h3>
  <p>Replace (or create) change branch with paths.</p>
  <p>paths may be either a dict mapping path to svn_wc_status2_t or a 
  list of paths. If it is a list, .Branch will open the deepest common 
  path and discover the svn_wc_status2_t for each path itself; if a dict, 
  .Branch assumes the wc is already open.</p>
  Arguments: paths -- list of paths to change; defaults to 
  .changed_paths description -- svn:log for change; defaults to 
  .description; default '' pool -- memory pool
  <dl><dt></dt><dd>
  </dd></dl>
</td></tr></table>

<a name="Delete"></a>
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
  <h3><span class="sig"><span class="sig-name">Delete</span>(<span class=sig-arg>self</span>,
          <span class=sig-arg>_wc</span>,
          <span class=sig-arg>description</span>=<span class=sig-default>None</span>,
          <span class=sig-arg>pool</span>=<span class=sig-default>None</span>)</span>
  </h3>
  <p>Delete, leaving self invalid and paths associated with no 
  change.</p>
  Arguments: description -- svn:log for deletion; defaults to 
  .description or '' pool -- memory pool
  <dl><dt></dt><dd>
  </dd></dl>
</td></tr></table>

<a name="GetInstanceAtRevision"></a>
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
  <h3><span class="sig"><span class="sig-name">GetInstanceAtRevision</span>(<span class=sig-arg>self</span>,
          <span class=sig-arg>revision</span>=<span class=sig-default>None</span>)</span>
  </h3>
  <p>Return an instance of this changebranch at revision 'revision'.</p>
  The current revision of this changebranch instance is assumed if no 
  revision is specified.
  <dl><dt></dt><dd>
  </dd></dl>
</td></tr></table>

<a name="Submit"></a>
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
  <h3><span class="sig"><span class="sig-name">Submit</span>(<span class=sig-arg>self</span>,
          <span class=sig-arg>_wc</span>,
          <span class=sig-arg>description</span>=<span class=sig-default>None</span>,
          <span class=sig-arg>pool</span>=<span class=sig-default>None</span>)</span>
  </h3>
  <p>Submit (and remove) change branch.</p>
  Arguments: description -- svn:log for submit; defaults to 
  .description or '' pool -- memory pool
  <dl><dt></dt><dd>
  </dd></dl>
</td></tr></table>
<br />


<!-- =========== START OF PROPERTY DETAILS =========== -->
<table class="details" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="details">
  <th colspan="2">Property Details</th></tr>
</table>
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>

<a name="change_name"></a>
<h3>change_name</h3>
&#64;
<dl>
  <dt></dt>
  <dd>
    <dl>
      <dt><b>Get Method:</b></dt>
      <dd><span class="summary-sig"><span class="summary-sig-name">unknown-3074959820</span>(...)</span>
      </dd>
    </dl>
  </dd>
</dl></td></tr></table><table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>

<a name="change_name_at_head"></a>
<h3>change_name_at_head</h3>
/
<dl>
  <dt></dt>
  <dd>
    <dl>
      <dt><b>Get Method:</b></dt>
      <dd><span class="summary-sig"><span class="summary-sig-name">unknown-3074959764</span>(...)</span>
      </dd>
    </dl>
  </dd>
</dl></td></tr></table><table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>

<a name="changed_paths"></a>
<h3>changed_paths</h3>
List of ChangedPaths.
<dl>
  <dt></dt>
  <dd>
    <dl>
    </dl>
  </dd>
</dl></td></tr></table><table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>

<a name="name"></a>
<h3>name</h3>
<dl>
  <dt></dt>
  <dd>
    <dl>
      <dt><b>Get Method:</b></dt>
      <dd><span class="summary-sig"><span class="summary-sig-name">unknown-3074959652</span>(...)</span>
      </dd>
    </dl>
  </dd>
</dl></td></tr></table><table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>

<a name="revisions"></a>
<h3>revisions</h3>
<pre class="literalblock">
Return the equivalent of:

       svn log --stop-on-copy //changes/&lt;username&gt;/&lt;branchname&gt;&#64;revision

This will be a list of repository.revision objects, sorted in order
of decreasing repository.revision.number (i.e. from youngest to oldest).
</pre>
<dl>
  <dt></dt>
  <dd>
    <dl>
    </dl>
  </dd>
</dl></td></tr></table><table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>

<a name="username"></a>
<h3>username</h3>
<dl>
  <dt></dt>
  <dd>
    <dl>
      <dt><b>Get Method:</b></dt>
      <dd><span class="summary-sig"><span class="summary-sig-name">unknown-3074959708</span>(...)</span>
      </dd>
    </dl>
  </dd>
</dl></td></tr></table><br />


<!-- =========== START OF NAVBAR =========== -->
<table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="center">
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="gvn-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="trees.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="indices.html">Index</a>&nbsp;&nbsp;&nbsp;</th>
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
    <th class="navbar" align="right" width="100%">
      <table border="0" cellpadding="0" cellspacing="0">
      <tr><th class="navbar" align="center">
        <p class="nomargin">
          <a class="navbar" target="_top" href="http://code.google.com/p/gvn/">Project&nbsp;Homepage</a>
      </p></th></tr></table>
    </th>
  </tr>
</table>

<table border="0" cellpadding="0" cellspacing="0" width="100%">
  <tr>
    <td align="left"><font size="-2">Generated by Epydoc 2.1 on Tue Jul 17 16:51:46 2007</font></td>
    <td align="right"><a href="http://epydoc.sourceforge.net"
                      ><font size="-2">http://epydoc.sf.net</font></a></td>
  </tr>
</table>
</body>
</html>
